<html>
<head>
<title>Docs for page define.php</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">smt2</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                    
                                                                      		  [ <a href="../classtrees_smt2.html" class="menu">class tree: smt2</a> ]
		  [ <a href="../elementindex_smt2.html" class="menu">index: smt2</a> ]
		  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../li_smt2.html">smt2</a><br />
              <a href="../li_PegasusPHP.html">PegasusPHP</a><br />
              <a href="../li_PHPMailer.html">PHPMailer</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../smt2/_class.cluster.php.html">		class.cluster.php
		</a><br>
			<a href="../smt2/_class.domutil.php.html">		class.domutil.php
		</a><br>
			<a href="../smt2/_class.kmeans.php.html">		class.kmeans.php
		</a><br>
			<a href="../smt2/_class.point.php.html">		class.point.php
		</a><br>
			<a href="../smt2/_class.prettydate.php.html">		class.prettydate.php
		</a><br>
			<a href="../smt2/_define.php.html">		define.php
		</a><br>
			<a href="../smt2/_functions.db.php.html">		functions.db.php
		</a><br>
			<a href="../smt2/_functions.php.html">		functions.php
		</a><br>
			<a href="../smt2/_messages.php.html">		messages.php
		</a><br>
	  </div><br />
      
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../smt2/Cluster.html">Cluster</a><br />
	    		<a href="../smt2/DOMUtil.html">DOMUtil</a><br />
	    		<a href="../smt2/KMeans.html">KMeans</a><br />
	    		<a href="../smt2/Point.html">Point</a><br />
	    		<a href="../smt2/prettyDate.html">prettyDate</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Procedural File: define.php</h1>
Source Location: /define.php<br /><br />

<br>
<br>


<h2>Page Details:</h2>
<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>filesource:</b>&nbsp;&nbsp;</td><td><a href="../__filesource/fsource_smt2__define.php.html">Source Code for this file</a></td>
  </tr>
</table>
</div>
<br /><br />
<br /><br />
<br /><br />
  <hr />
	<a name="defineADMIN_PATH"></a>
	<h3>ADMIN_PATH <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a8">8</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>ADMIN_PATH = ABS_PATH.&quot;admin/&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Path to admin dir. This absolute URL is used to resolve links, redirections, an so on.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineCACHE_DIR"></a>
	<h3>CACHE_DIR <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a31">31</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>CACHE_DIR = INC_PATH.&quot;cache/&quot;</code>
    </td></tr></table>
    </td></tr></table>

    HTML logs dir. Do not use absolute URLs because fopen wrappers could be disabled.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineCMS_CHOICE"></a>
	<h3>CMS_CHOICE <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a58">58</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>CMS_CHOICE = 1</code>
    </td></tr></table>
    </td></tr></table>

    Form input type: User must choose between 2 options (checkbox)<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineCMS_MULTIPLE"></a>
	<h3>CMS_MULTIPLE <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a60">60</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>CMS_MULTIPLE = 2</code>
    </td></tr></table>
    </td></tr></table>

    Form input type: User must choose between 3 or more options (radio button)<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineCMS_TITLE"></a>
	<h3>CMS_TITLE <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a6">6</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>CMS_TITLE = &quot;simple mouse tracking &quot;.SMT_VERSION</code>
    </td></tr></table>
    </td></tr></table>

    Title for CMS pages.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineCMS_TYPE"></a>
	<h3>CMS_TYPE <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a56">56</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>CMS_TYPE = 0</code>
    </td></tr></table>
    </td></tr></table>

    Form input type: User must enter some value (input text)<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineCSS_PATH"></a>
	<h3>CSS_PATH <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a10">10</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>CSS_PATH = ADMIN_PATH.&quot;css/&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Path to CSS styles.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineINC_DIR"></a>
	<h3>INC_DIR <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a35">35</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>INC_DIR = INC_PATH.&quot;inc/&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Path to common includes (header, footer, and so on).<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineJSON_PARSER"></a>
	<h3>JSON_PARSER <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a24">24</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>JSON_PARSER = JS_PATH.&quot;json2.js&quot;</code>
    </td></tr></table>
    </td></tr></table>

    JSON parser.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineJS_PATH"></a>
	<h3>JS_PATH <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a14">14</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>JS_PATH = ABS_PATH.&quot;core/js/src/&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Path to core JavaScript functions.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineJS_SELECTOR"></a>
	<h3>JS_SELECTOR <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a26">26</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>JS_SELECTOR = JS_PATH.&quot;selector.js&quot;</code>
    </td></tr></table>
    </td></tr></table>

    JavaScript DOM selector library (Sizzle, Peppy, Selector, etc.).<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineSMT_AUX"></a>
	<h3>SMT_AUX <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a20">20</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>SMT_AUX = JS_PATH.&quot;smt-aux.js&quot;</code>
    </td></tr></table>
    </td></tr></table>

    smt2 auxiliar functions.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineSMT_RECORD"></a>
	<h3>SMT_RECORD <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a16">16</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>SMT_RECORD = JS_PATH.&quot;smt-record.js&quot;</code>
    </td></tr></table>
    </td></tr></table>

    smt2 record script.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineSMT_REPLAY"></a>
	<h3>SMT_REPLAY <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a18">18</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>SMT_REPLAY = JS_PATH.&quot;smt-replay.js&quot;</code>
    </td></tr></table>
    </td></tr></table>

    smt2 replay script.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineSMT_VERSION"></a>
	<h3>SMT_VERSION <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a3">3</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>SMT_VERSION = &quot;2.0.0&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Installed (smt) version.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineSWFOBJECT"></a>
	<h3>SWFOBJECT <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a28">28</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>SWFOBJECT = ADMIN_PATH.&quot;js/swfobject.js&quot;</code>
    </td></tr></table>
    </td></tr></table>

    SWFObject library.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineSWF_PATH"></a>
	<h3>SWF_PATH <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a12">12</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>SWF_PATH = ABS_PATH.&quot;core/swf/&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Path to core ActionScript functions.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineSYS_DIR"></a>
	<h3>SYS_DIR <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a33">33</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>SYS_DIR = INC_PATH.&quot;sys/&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Path to system dir.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineTBL_BROWSERS"></a>
	<h3>TBL_BROWSERS <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a42">42</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>TBL_BROWSERS = &quot;browsers&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Table for storing browser names.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineTBL_CACHE"></a>
	<h3>TBL_CACHE <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a40">40</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>TBL_CACHE = &quot;cache&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Table for caching HTML logs.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineTBL_CMS"></a>
	<h3>TBL_CMS <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a52">52</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>TBL_CMS = &quot;cms&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Table for customizing CMS options.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineTBL_EXTS"></a>
	<h3>TBL_EXTS <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a50">50</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>TBL_EXTS = &quot;exts&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Table for registering extension modules.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineTBL_JSOPT"></a>
	<h3>TBL_JSOPT <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a54">54</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>TBL_JSOPT = &quot;jsopt&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Table for customizing JS replay options.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineTBL_OS"></a>
	<h3>TBL_OS <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a44">44</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>TBL_OS = &quot;os&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Table for storing operating system names.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineTBL_RECORDS"></a>
	<h3>TBL_RECORDS <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a38">38</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>TBL_RECORDS = &quot;records&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Table for storing smt2 records.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineTBL_ROLES"></a>
	<h3>TBL_ROLES <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a48">48</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>TBL_ROLES = &quot;roles&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Table for managing user roles.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineTBL_USERS"></a>
	<h3>TBL_USERS <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a46">46</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>TBL_USERS = &quot;users&quot;</code>
    </td></tr></table>
    </td></tr></table>

    Table for registered users.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineWZ_JSGRAPHICS"></a>
	<h3>WZ_JSGRAPHICS <span class="smalllinenumber">[line <a href="../__filesource/fsource_smt2__define.php.html#a22">22</a>]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>WZ_JSGRAPHICS = JS_PATH.&quot;wz_jsgraphics.js&quot;</code>
    </td></tr></table>
    </td></tr></table>

    WZ JavaScript graphics libary.<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<br />

        <div class="credit">
		    <hr />
		    Documentation generated on Sun, 21 Feb 2010 16:08:02 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>